package com.wsx.first.c;


import java.util.Scanner;

/**
 * @author: wangshunxi
 * @date: 2022/5/10 16:22
 * @Description:
 */
public class Main0007 {

    public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in)) {
            double content = scanner.nextDouble();

            solution(content);
        }
    }

    private static void solution(double content) {
        int r = (int) content;
        if (content - r >= 0.5d) {
            System.out.println(r + 1);
        } else {
            System.out.println(r);
        }
    }


}
